Ext.define('AM.component.shape.Star',{
    extend:'AM.component.shape.BaseShape',
    draw: function() {
        var me = this;
        var canvas = me.el.dom;
        var context = canvas.getContext('2d');
        context.fillStyle="#FF0000";
        context.beginPath();
        context.moveTo(50,0);
        context.lineTo(20,100);
        context.lineTo(100,30);
        context.lineTo(0,30);
        context.lineTo(85,100);
        context.lineTo(50,0);
        context.closePath();
        context.fill();
    }
})